import {request} from '@umijs/max';
import * as API from "@/services";
export async function queryOpLogs(params: API.OpLogPageQueryParams): Promise<API.RespPageResult<API.OpLog>> {
    return request('/api/v1/oplog', {
        params,
    });
}

export async function queryOpLog(bizId: API.EntityId): Promise<API.RespResult<API.OpLog>> {
    return request(`/api/v1/oplog/${bizId}`);
}

